package com.briup.store.service;


import com.briup.store.domain.dto.OrderInsertDTO;
import com.briup.store.domain.dto.OrderItemInsertDTO;
import com.briup.store.domain.pojo.Order;
import com.briup.store.domain.vo.OrderGetDetailVO;
import com.briup.store.domain.vo.OrderQueryVO;

import java.util.List;

/**
* @author qinyc
* @description 针对表【es_order(订单表)】的数据库操作Service
* @createDate 2024-12-24 09:16:52
*/
public interface OrderService{

    String addOrder(OrderInsertDTO orderInsert);

    List<OrderQueryVO> queryOrder();

    void closeOrder(String id);

    OrderGetDetailVO detailOrder(String orderId);

    void updateOrderById(Order order);

    List<OrderItemInsertDTO> getOrderItemByOrderId(String orderId);
}
